import { ProtocolComponent } from "@components/Apps/InertialNavigation/InertialNavigationComponent";
import { ClientMessage } from "@runtime/generate/message/ClientMessage";
import MessageHandler from "@runtime/module/Handler/MessageHandler";

export default class InertialNavigationProtocolDataUpdateMessageHandler extends MessageHandler<ClientMessage.InertialNavigationProtocolDataUpdateMessage> {
    protected async RunAsync(message: ClientMessage.InertialNavigationProtocolDataUpdateMessage): Promise<void> {
        ProtocolComponent.Default.Receive(message.Data);
    }
}